package com.example.service;

import java.util.List;

import com.example.entity.Modules;
import com.example.entity.TreeMenu;

public interface ModulesService {

	/**
	 * 查询所有模块信息
	 * @return
	 */
	public List<Modules> findAllModules();

	public List<Modules> findAll(String name);

	public List<TreeMenu> find(String roleId);

	public int addModules(Modules me);

	public int addModule(Modules me);

	public int upModules(Modules me);

	public int delModules(Integer id);

	

}
